/*
 * @Date: 2024-11-18 16:45:18
 * @Author: LiSong
 * @LastEditors: LiSong
 * @LastEditTime: 2024-11-19 14:46:24
 * @Description: 组件示例
 */
const metaBase = {
	isLink: '',
	isHide: false,
	isKeepAlive: true,
	isAffix: false,
	isIframe: false,
	roles: ['admin'],
	icon: 'icon-caidan',
}

export default [
	{
		path: '/examples/comps',
		name: 'examples-comps',
		component: () => import('/@/layout/routerView/parent.vue'),
		meta: {
			...metaBase,
			title: '组件示例',
		},
		children: [
			{
				path: '/examples/comps/icons-select',
				name: 'ExmpIconsSelectView',
				component: () => import('@/views/examples/comps/ExmpIconsSelectView.vue'),
				meta: {
					...metaBase,
					title: '图标下拉选择',
				},
			},
			{
				path: '/examples/comps/tree-select',
				name: 'ExmpTreeSelectView',
				component: () => import('@/views/examples/comps/ExmpTreeSelectView.vue'),
				meta: {
					...metaBase,
					title: '树形下拉选择',
				},
			},
			{
				path: '/examples/comps/tree-panel',
				name: 'ExmpTreePanelView',
				component: () => import('@/views/examples/comps/ExmpTreePanelView.vue'),
				meta: {
					...metaBase,
					title: '单位树面板',
				},
			},
			{
				path: '/examples/comps/tree-ad-ag',
				name: 'ExmpAdAgTreeView',
				component: () => import('@/views/examples/comps/ExmpAdAgTreeView.vue'),
				meta: {
					...metaBase,
					title: '区划单位树',
				},
			},
		]
	}
]